Fix `cargo test` with a dylib when run twice
authorAlex Crichton <alex@alexcrichton.com>
Wed, 23 Jul 2014 16:09:33 +0000 (09:09 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 23 Jul 2014 19:19:02 +0000 (12:19 -0700)
commit8a14c306d809d9a3e26b2824bdf34318c2466888
treeb11f0d6a9c82a255078d168ded80b73674b3fad5
parent92062d5e34a02d33bdc7422e4b8480b68cabfb60
Fix `cargo test` with a dylib when run twice

The filename of the test for a dylib wasn't being calcuated correctly, so when
freshness was copying data over it ended up copying the same file twice.
src/cargo/ops/cargo_rustc/context.rs
tests/test_cargo_test.rs